<%@ page language="java" contentType="text/xml; charset=EUC-KR" pageEncoding="EUC-KR"%><%@ page import="java.util.*"%><%@ page import="ynh.bis.beans.AjaxBean"%><?xml version="1.0" encoding="EUC-KR" ?>
<root>
<%

	Vector list =(Vector)request.getAttribute("list");
	String isSuccess = (String)request.getAttribute("isSuccess");
	String district_id = (String)request.getAttribute("district_id");
	String buscompay_id = (String)request.getAttribute("buscompay_id");
	
	if(isSuccess.equals("YES")){
		
		AjaxBean bean = null;
		
		if(list !=null && list.size()>0){

%>
				<status>normal</status>
				<busComCount total="<%=list.size()  %>">
					<busCom curDistrictID="<%=district_id%>" curBuscompayID="<%=buscompay_id%>"/> 
<%
			for(int i= 0 ;i<list.size() ; i++){
				bean = (AjaxBean)list.elementAt(i);
%>
					<busComName busComid="<%=bean.getBid()%>"><%=bean.getTitle()  %></busComName>


<%
				
			}
%>
				</busComCount>
<%	
		}
		
		
	}else{

		%>
		<status>error</status> 
<%
	}
	
%>


</root>